class UserInfoModel {
  UserInfoModel({
    this.profileUrl,
    this.id,
    this.availableCount,
    this.name,
    this.heat,
    this.createTime,
    this.convertedEndTime,
    this.coinAvailable,
    this.coinTarget,
    this.availableBalance,
    this.reviewType,
  });

  UserInfoModel.fromJson(dynamic json) {
    profileUrl = json['profileUrl'];
    id = json['id'];
    availableCount = json['availableCount'];
    name = json['name'];
    heat = json['heat'];
    createTime = json['createTime'];
    convertedEndTime = json['convertedEndTime'];
    coinAvailable = json['coinAvailable'];
    coinTarget = json['coinTarget'];
    availableBalance = json['availableBalance'];
    reviewType = json['reviewType'];
  }

  String? profileUrl;
  int? id;
  int? availableCount;
  String? name;
  int? heat;
  String? createTime;

  int? convertedEndTime; //转化金币结束时间
  int? coinAvailable; //可用的金币
  int? coinTarget; //目标金币
  double? availableBalance; //可用余额
  int? reviewType; //1 审核人

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['profileUrl'] = profileUrl;
    map['id'] = id;
    map['availableCount'] = availableCount;
    map['name'] = name;
    map['heat'] = heat;
    map['createTime'] = createTime;
    map['convertedEndTime'] = convertedEndTime;
    map['coinAvailable'] = coinAvailable;
    map['coinTarget'] = coinTarget;
    map['availableBalance'] = availableBalance;
    map['reviewType'] = reviewType;
    return map;
  }
}
